<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .btn{
            width: 100px;
            height: 100px;
            background-color: rgb(221, 221, 221);
        }
        .active{
            background-color: rgb(230, 137, 137);
        }
    </style>
</head>
<body>
    <div class="container" data-msg="hello world" data-name="albert">

    </div>
    <div class="btn" >按钮</div>
    <script src="./js/DOM节点操作.js"></script>
</body>
</html>